﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Pipes;
namespace pipeCore.Pipes.Ports
{
    /// <summary>
    /// This is the output port that will send data to to an other port
    /// </summary>
    public interface Ioutport : IPort
    {
        /// <summary>
        /// the name of the port that the port will connect to and send
        /// </summary>
        String Discport { set; get; }
        /// <summary>
        /// Send the message to the other port
        /// </summary>
        void Send();
        /// <summary>
        /// Connect this port to an inport with a name
        /// </summary>
        /// <param name="remotPort">the remote inport connect to</param>
        void Connect(String remotPort);
    }

  
}
